xenstore: sanity check incoming message body lengths
authorMatthew Daley <mattd@bugfuzz.com>
Sat, 30 Nov 2013 00:20:04 +0000 (13:20 +1300)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 19 Dec 2013 17:16:33 +0000 (17:16 +0000)
commit8da1ed9031341381c218b7e6eaab5b4f239a327b
treeb58b764ad6f73b2b96f3d9d256a915ae5f68fe0e
parent3533972f6d423e71533ffbce5cb9d84bd1a9a674
xenstore: sanity check incoming message body lengths

This is for the client-side receiving messages from xenstored, so there
is no security impact, unlike XSA-72.

Coverity-ID: 1055449
Coverity-ID: 1056028
Signed-off-by: Matthew Daley <mattd@bugfuzz.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/xenstore/xs.c